<!--This page contains pieces of code from google, which is not XHTML 1.0 compliant-->
<?php 
    require_once("incl/functions/captcha.php"); 
    $captcha = new captcha();
?>
<div id="left">
    <span class="leftcontent">
        <form method="post" action="<?php $_SERVER['PHP_SELF'];?>">
            <?php
                echo("
                <table id='contact'>
                    <tr>
                        <td width='75'>
                            " . CONTACT_NAME . "
                        </td>
                        <td>
                            <input type='text' name='naam'>
                            <input type='hidden' name='submitted' value='true' />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            email:
                        </td>
                        <td>
                            <input type='text' name='mail'>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            " . CONTACT_SUBJ . ":
                        </td>
                        <td>
                            <input type='text' name='subject'>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            " . CONTACT_CONT . "
                        </td>
                        <td width='350'>
                            <textarea name='content'></textarea>
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <input type='submit' value='send'>
                ");
                // code for all the forms ends here.
            ?>
            <span id="captcha">
                <?php
                    $captcha->makeCaptcha();
                    if(isset($_SESSION["message"])){
                        echo('<font color="red">' . $_SESSION['message'] . "</font>");
                        unset ($_SESSION['message']);
                    }
                ?>
            </span>
        </form>
    </span>
</div>